package com.effectiv.gooruda.repository;

import java.util.List;

import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

import com.effectiv.gooruda.domain.ServerDetail;




@Repository
public interface ServerDetailRepository extends MongoRepository<ServerDetail, String>{
	
	ServerDetail findByNameAndPortAndContext(String name, int port, String context);
	List<ServerDetail> findByContext(String context);
}
